HipFileSystem

FileSystem access for specific platforms.

class HipFileSystem {}

Members

Static functions

absoluteExists
bool absoluteExists(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteIsDir
bool absoluteIsDir(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteIsFile
bool absoluteIsFile(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteRead
bool absoluteRead(string path, void[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteRead
bool absoluteRead(string path, ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteReadText
bool absoluteReadText(string path, string output)
Undocumented in source. Be warned that the author may not have intended to support it.
absoluteRemove
bool absoluteRemove(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
exists
bool exists(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
getFile
bool getFile(string path, string opts, File file)
Undocumented in source. Be warned that the author may not have intended to support it.
getPath
string getPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
getResourcesPath
string getResourcesPath()

This function may be refactored in future since having different directories to resources to writeable paths is becoming more common

getcwd
string getcwd()
Undocumented in source. Be warned that the author may not have intended to support it.
initializeAbsolute
void initializeAbsolute()
Undocumented in source. Be warned that the author may not have intended to support it.
install
void install(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
install
void install(string path, bool function(string path, out string errMessage)[] validations)
Undocumented in source. Be warned that the author may not have intended to support it.
isDir
bool isDir(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
isFile
bool isFile(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
isPathValid
bool isPathValid(string path, bool expectsFile, bool shouldVerify)
Undocumented in source. Be warned that the author may not have intended to support it.
isPathValidExtra
bool isPathValidExtra(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
read
IHipFSPromise read(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
readText
IHipFSPromise readText(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
setPath
bool setPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
write
bool write(string path, void[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeCache
string writeCache(string cacheName, void[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

combinedPath
string combinedPath;
Undocumented in source.
defPath
string defPath;
Undocumented in source.
extraValidations
bool function(string path, out string errMessage)[] extraValidations;
Undocumented in source.
filesReadingCount
size_t filesReadingCount;
Undocumented in source.
fs
IHipFileSystemInteraction fs;
Undocumented in source.
initialPath
string initialPath;
Undocumented in source.
isInstalled
bool isInstalled;
Undocumented in source.

Meta